package com.hntky.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hntky.entity.Patient;
import com.hntky.service.PatientService;
import com.hntky.mapper.PatientMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author admin
* @description 针对表【t_patient】的数据库操作Service实现
* @createDate 2023-05-14 14:51:25
*/
@Service
public class PatientServiceImpl extends ServiceImpl<PatientMapper, Patient>
    implements PatientService{

    @Resource
    private PatientMapper mapper;

    @Override
    public Page<Patient> findPage(Page<Patient> page, String pname) {
        return mapper.findPage(page, pname);
    }
}




